package org.yangspring.samples.mvc.domainOracle;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by whyang on 2017/06/22.
 */

@Entity
@Table(schema = "OE", name = "PRODUCT_DESCRIPTIONS")
public class ProductDesc {

    @Id
    @Column(name = "PRODUCT_ID")
    private Integer productId;

    @Column(name = "LANGUAGE_ID")
    private String languageId;

    @Column(name = "TRANSLATED_NAME")
    private String translateName;

    @Column(name = "TRANSLATED_DESCRIPTION")
    private String translateDesc;


    public void setProductId(Integer productId){
        this.productId = productId;
    }
    public Integer getProductId(){
        return this.productId;
    }

    public void setLanguageId(String languageId){
        this.languageId = languageId;
    }
    public String getLanguageId(){
        return this.languageId;
    }

    public void setTranslateName(String translateName){
        this.translateName = translateName;
    }
    public String getTranslateName(){
        return this.translateName;
    }

    public void setTranslateDesc(String translateDesc){
        this.translateDesc = translateDesc;
    }
    public String getTranslateDesc(){
        return this.translateDesc;
    }

}
